package com.jagochan.imchat.module;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication(scanBasePackages = {"com.jagochan.imchat"})
@MapperScan({"com.jagochan.imchat.module.**.mapper"})
public class ImChatApplication {

    public static void main(String[] args) {
        SpringApplication.run(ImChatApplication.class, args);
        System.out.println("🍀项目启动成功！接口文档：http://localhost:8080/doc.html");
    }

}